package com.qk.mangement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.AddBusinessDTO;
import com.qk.domain.business.QueryPageBusinessDTO;
import com.qk.dto.business.QueryPoolBusinessDTO;
import com.qk.dto.business.TrackBusinessDTO;
import com.qk.entity.Business;
import com.qk.vo.business.QueryBusinessVO;
import com.qk.vo.business.QueryPageBusinessVO;
import com.qk.vo.business.QueryPoolBusinessVO;

/**
 * Date:2025/10/15
 * Author:zxc
 * Description
 */
public interface BusinessService extends IService<Business> {
    PageResult<QueryPageBusinessVO> queryListByPage(QueryPageBusinessDTO queryPageBusinessDTO);


    void addBusiness(AddBusinessDTO addBusinessDTO);


    void assignBusiness(Integer businessId, Integer userId);


    void backBusiness(Integer id);


    void businessToCustomer(Integer id);


    QueryBusinessVO queryById(Integer id);


    void trackBusiness(TrackBusinessDTO trackBusinessDTO);


    PageResult<QueryPoolBusinessVO> queryBusinessPool(QueryPoolBusinessDTO queryPoolBusinessDTO);
}
